package com.qf.springboot230203.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;

/**
 * 该类用于收集注册信息传递的参数
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OnePpieceVo {

    private String username;
    private String password;
    private String password1;
    private String sex;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;
    private MultipartFile photo;
    private String captchar;

}
